using UnityEngine;
using System.Collections;

public class Difficulty : MonoBehaviour {

	// Use this for initialization
	void Start () 
	{
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	
	void OnGUI()
    {
        Event e = Event.current;
        if (e.button == 0 && e.isMouse)
		{
            Debug.Log("Left Click");
		}
		
        if(GUI.Button(new Rect(420,700,80,20), "Easy")) 
		{
			Application.LoadLevel("level1");
		}
		
		if(GUI.Button(new Rect(520,700,90,20), "Normal")) 
		{
			Application.LoadLevel("level2");
		}
		
		if(GUI.Button(new Rect(630,700,80,20), "Hard")) 
		{
			Application.LoadLevel("level3");
		}
       
        
    }
}
